﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Taobao.Top.Api.Domain
{
    [Serializable]
    public class SubPurchaseOrder:BaseObject
    {
        #region Ctor

        public SubPurchaseOrder()
            : base()
        { 
        }

        #endregion

        #region Properties

        [XmlElement("item_id")]
        public long ItemID
        {
            get;
            set;
        }

        [XmlElement("item_outer_id")]
        public string ItemOuterID
        {
            get;
            set;
        }

        [XmlElement("sku_id")]
        public long SkuID
        {
            get;
            set;
        }

        [XmlElement("sku_outer_id")]
        public string SkuOuterID
        {
            get;
            set;
        }

        [XmlElement("sku_properties")]
        public string SkuProperties
        {
            get;
            set;
        }

        [XmlElement("num")]
        public int Num
        {
            get;
            set;
        }

        [XmlElement("title")]
        public string Title
        {
            get;
            set;
        }

        [XmlElement("price")]
        public float Price
        {
            get;
            set;
        }

        [XmlElement("snapshot_url")]
        public string SnapShotUrl
        {
            get;
            set;
        }

        [XmlElement("created")]
        public string Created
        {
            get;
            set;
        }

        [XmlElement("status")]
        public string Status
        {
            get;
            set;
        }

        [XmlElement("id")]
        public long ID
        {
            get;
            set;
        }

        [XmlElement("fenxiao_id")]
        public long FenXiaoID
        {
            get;
            set;
        }

        [XmlElement("total_fee")]
        public float TotalFee
        {
            get;
            set;
        }

        [XmlElement("distributor_payment")]
        public float DistributorPayment
        {
            get;
            set;
        }

        [XmlElement("buyer_payment")]
        public float BuyerPayment
        {
            get;
            set;
        }

        #endregion
    }
}
